<?php

class DeliveryListWidget extends CWidget {

    public $visible = true;

    public function init() {
        
    }

    public function run() {
        if ($this->visible) {
            $this->renderContent();
        }
    }

    protected function renderContent() {
        $model = new DeliveryMethod;
        $this->render('cmswidgets.views.shopping.delivery_list_widget', array('model' => $model));
    }

}
